]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
endSessionDialog: Remove "Restart" option from shutdown dialog
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 1 Jul 2020 14:50:02 +0000 (16:50 +0200)
committerFlorian Müllner <florian.muellner@gmail.com>
Mon, 10 Aug 2020 15:36:26 +0000 (15:36 +0000)
Restart will be exposed as a separate action instead of being part
of the shutdown dialog.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2202

js/ui/endSessionDialog.js

index 263bea324168a7aafc91391d1bca1beb54b152c6..00dd9b220e1721ffe1eafce26699fdbee080c9a7 100644 (file)
@@ -68,9 +68,6 @@ const shutdownDialogContent = {
     checkBoxText: C_("checkbox", "Install pending software updates"),
     showBatteryWarning: true,
     confirmButtons: [{
-        signal: 'ConfirmedReboot',
-        label: C_('button", "Restart'),
-    }, {
         signal: 'ConfirmedShutdown',
         label: C_('button', 'Power Off'),
     }],